<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Struct bmqt::QueueFlagsUtil</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="bdedox.css" rel="stylesheet" type="text/css"/>
    <style>
      div.hanging {
        padding-left: 0.75in;
        text-indent: -0.50in;
      }
      div.unhanging {
        text-indent:     0in;
      }
      a.glossary {
        font-weight: bold;
        font-style: italic;
      }
    </style>
</head>
<!--
<body onload='searchBox.OnSelectItem(0);'>
-->
<body>

<table border=2 cellspacing=0 cellpadding=0 align=center>
<tr>
 <td valign=top align=center>
 <p align=center><b><i>Quick Links:</i></b></p>
 </td>
 <td valign=top align=center>
 <p align=center>
<a class="qindex" href="group__bmqa.html" target="_blank">bmqa</a> | <a class="qindex" href="group__bmqpi.html" target="_blank">bmqpi</a> | <a class="qindex" href="group__bmqt.html" target="_blank">bmqt</a>
 </td>
 </tr>
 </table>

  </div>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="components.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="components.html"><span>Components</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacebmqt.html">bmqt</a>      </li>
      <li><a class="el" href="structbmqt_1_1QueueFlagsUtil.html">bmqt::QueueFlagsUtil</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>bmqt::QueueFlagsUtil Struct Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="bmqt::QueueFlagsUtil" -->
<p><code>#include &lt;<a class="el" href="bmqt__queueflags_8h_source.html">bmqt_queueflags.h</a>&gt;</code></p>

<p><a href="structbmqt_1_1QueueFlagsUtil-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#af33e23309a23955337c649b901d7fd43">isSet</a> (bsls::Types::Uint64 flags, <a class="el" href="structbmqt_1_1QueueFlags.html#a7f1a1e2ba9084565388e19bc1921a4f2">QueueFlags::Enum</a> flag)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#ad53821cf6d4c2857f5c4411712ac9910">isValid</a> (bsl::ostream &amp;errorDescription, bsls::Types::Uint64 flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bsls::Types::Uint64&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a34ef322b93b717725ac5107e321b92fa">empty</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a1fea7c4a9ae4bceebb710fc8b6cd8cb3">isEmpty</a> (bsls::Types::Uint64 flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a374a0565fb36a7f2f7288cf9fd6533d5">isReader</a> (bsls::Types::Uint64 flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a6fa54e072e2061f2f93e8585b86baabf">isWriter</a> (bsls::Types::Uint64 flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#af6ce4c9258a2bac9aea9788a00caa043">isAdmin</a> (bsls::Types::Uint64 flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a686bc363536cd076c2e113b65887be16">isAck</a> (bsls::Types::Uint64 flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a1267cc4314d3431ce8823efbc5e25424">setReader</a> (bsls::Types::Uint64 *flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a2b56401f219c13c29ac80fe5dee5dba1">setAdmin</a> (bsls::Types::Uint64 *flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a7323252232359c20dc74334220e36786">setWriter</a> (bsls::Types::Uint64 *flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#ab2668812f3b97d2dff6d2021c60ab080">setAck</a> (bsls::Types::Uint64 *flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a493de9456bb7aed3835db36a64b530c8">unsetReader</a> (bsls::Types::Uint64 *flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#ae526a0cd0444d700ae1f902dc881c240">unsetAdmin</a> (bsls::Types::Uint64 *flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#aca10b499929f5132c90137f13f9e196c">unsetWriter</a> (bsls::Types::Uint64 *flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#ae9bbf4984db13767c8529e8aa92f9a9a">unsetAck</a> (bsls::Types::Uint64 *flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bsls::Types::Uint64&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#aaf0a9e26a143bafa61da7c1798aaf56a">additions</a> (bsls::Types::Uint64 oldFlags, bsls::Types::Uint64 newFlags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bsls::Types::Uint64&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#a5ed5fcdb273fee16feeb190525e5c1d2">removals</a> (bsls::Types::Uint64 oldFlags, bsls::Types::Uint64 newFlags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bsl::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#aaf66ae866d6bee68687235acdc3ce99d">prettyPrint</a> (bsl::ostream &amp;stream, bsls::Types::Uint64 flags)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1QueueFlagsUtil.html#acc44f23e7207996247915dd5b0695ee6">fromString</a> (bsl::ostream &amp;errorDescription, bsls::Types::Uint64 *out, const bsl::string &amp;str)</td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af33e23309a23955337c649b901d7fd43"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::isSet" ref="af33e23309a23955337c649b901d7fd43" args="(bsls::Types::Uint64 flags, QueueFlags::Enum flag)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool bmqt::QueueFlagsUtil::isSet </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structbmqt_1_1QueueFlags.html#a7f1a1e2ba9084565388e19bc1921a4f2">QueueFlags::Enum</a>&nbsp;</td>
          <td class="paramname"> <em>flag</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return true if the bit-mask in the specified <code>flags</code> has the specified <code>flag</code> set, or false if not.</p>
<p>DEPRECATED: This method is deprecated in favor of the below more specific accessors; and should be made private once all clients have been updated to the new APIs. </p>

</div>
</div>
<a class="anchor" id="ad53821cf6d4c2857f5c4411712ac9910"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::isValid" ref="ad53821cf6d4c2857f5c4411712ac9910" args="(bsl::ostream &amp;errorDescription, bsls::Types::Uint64 flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool bmqt::QueueFlagsUtil::isValid </td>
          <td>(</td>
          <td class="paramtype">bsl::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>errorDescription</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>flags</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check whether the specified <code>flags</code> represent a valid combination of flags to use for opening a queue. Return true if it does, or false if some exclusive flags are both set, and populate the specified <code>errorDescription</code> with the reason of the failure. </p>

</div>
</div>
<a class="anchor" id="a34ef322b93b717725ac5107e321b92fa"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::empty" ref="a34ef322b93b717725ac5107e321b92fa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bsls::Types::Uint64 bmqt::QueueFlagsUtil::empty </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The <code>empty</code> value for flags. </p>

</div>
</div>
<a class="anchor" id="a1fea7c4a9ae4bceebb710fc8b6cd8cb3"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::isEmpty" ref="a1fea7c4a9ae4bceebb710fc8b6cd8cb3" args="(bsls::Types::Uint64 flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool bmqt::QueueFlagsUtil::isEmpty </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns <code>true</code> if the specified <code>flags</code> have the <code>empty</code> value. </p>

</div>
</div>
<a class="anchor" id="a374a0565fb36a7f2f7288cf9fd6533d5"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::isReader" ref="a374a0565fb36a7f2f7288cf9fd6533d5" args="(bsls::Types::Uint64 flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool bmqt::QueueFlagsUtil::isReader </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns <code>true</code> if the specified <code>flags</code> represent a reader. </p>

</div>
</div>
<a class="anchor" id="a6fa54e072e2061f2f93e8585b86baabf"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::isWriter" ref="a6fa54e072e2061f2f93e8585b86baabf" args="(bsls::Types::Uint64 flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool bmqt::QueueFlagsUtil::isWriter </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns <code>true</code> if the specified <code>flags</code> represent a writer. </p>

</div>
</div>
<a class="anchor" id="af6ce4c9258a2bac9aea9788a00caa043"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::isAdmin" ref="af6ce4c9258a2bac9aea9788a00caa043" args="(bsls::Types::Uint64 flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool bmqt::QueueFlagsUtil::isAdmin </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns <code>true</code> if the specified <code>flags</code> represent an admin. </p>

</div>
</div>
<a class="anchor" id="a686bc363536cd076c2e113b65887be16"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::isAck" ref="a686bc363536cd076c2e113b65887be16" args="(bsls::Types::Uint64 flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool bmqt::QueueFlagsUtil::isAck </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns <code>true</code> if the specified <code>flags</code> represent ack required. </p>

</div>
</div>
<a class="anchor" id="a1267cc4314d3431ce8823efbc5e25424"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::setReader" ref="a1267cc4314d3431ce8823efbc5e25424" args="(bsls::Types::Uint64 *flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void bmqt::QueueFlagsUtil::setReader </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64 *&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the specified <code>flags</code> representation for reader. </p>

</div>
</div>
<a class="anchor" id="a2b56401f219c13c29ac80fe5dee5dba1"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::setAdmin" ref="a2b56401f219c13c29ac80fe5dee5dba1" args="(bsls::Types::Uint64 *flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void bmqt::QueueFlagsUtil::setAdmin </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64 *&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the specified <code>flags</code> representation for admin. </p>

</div>
</div>
<a class="anchor" id="a7323252232359c20dc74334220e36786"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::setWriter" ref="a7323252232359c20dc74334220e36786" args="(bsls::Types::Uint64 *flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void bmqt::QueueFlagsUtil::setWriter </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64 *&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the specified <code>flags</code> representation for writer. </p>

</div>
</div>
<a class="anchor" id="ab2668812f3b97d2dff6d2021c60ab080"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::setAck" ref="ab2668812f3b97d2dff6d2021c60ab080" args="(bsls::Types::Uint64 *flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void bmqt::QueueFlagsUtil::setAck </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64 *&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the specified <code>flags</code> representation for ack. </p>

</div>
</div>
<a class="anchor" id="a493de9456bb7aed3835db36a64b530c8"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::unsetReader" ref="a493de9456bb7aed3835db36a64b530c8" args="(bsls::Types::Uint64 *flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void bmqt::QueueFlagsUtil::unsetReader </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64 *&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Resets the specified <code>flags</code> representation for reader. </p>

</div>
</div>
<a class="anchor" id="ae526a0cd0444d700ae1f902dc881c240"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::unsetAdmin" ref="ae526a0cd0444d700ae1f902dc881c240" args="(bsls::Types::Uint64 *flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void bmqt::QueueFlagsUtil::unsetAdmin </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64 *&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Resets the specified <code>flags</code> representation for admin. </p>

</div>
</div>
<a class="anchor" id="aca10b499929f5132c90137f13f9e196c"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::unsetWriter" ref="aca10b499929f5132c90137f13f9e196c" args="(bsls::Types::Uint64 *flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void bmqt::QueueFlagsUtil::unsetWriter </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64 *&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Resets the specified <code>flags</code> representation for writer. </p>

</div>
</div>
<a class="anchor" id="ae9bbf4984db13767c8529e8aa92f9a9a"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::unsetAck" ref="ae9bbf4984db13767c8529e8aa92f9a9a" args="(bsls::Types::Uint64 *flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void bmqt::QueueFlagsUtil::unsetAck </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64 *&nbsp;</td>
          <td class="paramname"> <em>flags</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Resets the specified <code>flags</code> representation for ack. </p>

</div>
</div>
<a class="anchor" id="aaf0a9e26a143bafa61da7c1798aaf56a"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::additions" ref="aaf0a9e26a143bafa61da7c1798aaf56a" args="(bsls::Types::Uint64 oldFlags, bsls::Types::Uint64 newFlags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bsls::Types::Uint64 bmqt::QueueFlagsUtil::additions </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>oldFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>newFlags</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a new flag mask that only set bits are the ones that are in the specified <code>newFlags</code> and not in the specified <code>oldFlags</code>. </p>

</div>
</div>
<a class="anchor" id="a5ed5fcdb273fee16feeb190525e5c1d2"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::removals" ref="a5ed5fcdb273fee16feeb190525e5c1d2" args="(bsls::Types::Uint64 oldFlags, bsls::Types::Uint64 newFlags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bsls::Types::Uint64 bmqt::QueueFlagsUtil::removals </td>
          <td>(</td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>oldFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>newFlags</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a new flag mask that only set bits are the ones that are in the specified <code>oldFlags</code> and not in the specified <code>newFlags</code>. </p>

</div>
</div>
<a class="anchor" id="aaf66ae866d6bee68687235acdc3ce99d"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::prettyPrint" ref="aaf66ae866d6bee68687235acdc3ce99d" args="(bsl::ostream &amp;stream, bsls::Types::Uint64 flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bsl::ostream&amp; bmqt::QueueFlagsUtil::prettyPrint </td>
          <td>(</td>
          <td class="paramtype">bsl::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bsls::Types::Uint64&nbsp;</td>
          <td class="paramname"> <em>flags</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Print the ascii-representation of all the values set in the specified <code>flags</code> to the specified <code>stream</code>. Each value is <code>,</code> separated. </p>

</div>
</div>
<a class="anchor" id="acc44f23e7207996247915dd5b0695ee6"></a><!-- doxytag: member="bmqt::QueueFlagsUtil::fromString" ref="acc44f23e7207996247915dd5b0695ee6" args="(bsl::ostream &amp;errorDescription, bsls::Types::Uint64 *out, const bsl::string &amp;str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int bmqt::QueueFlagsUtil::fromString </td>
          <td>(</td>
          <td class="paramtype">bsl::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>errorDescription</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bsls::Types::Uint64 *&nbsp;</td>
          <td class="paramname"> <em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bsl::string &amp;&nbsp;</td>
          <td class="paramname"> <em>str</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convert the string representation of the enum bit mask from the specified <code>str</code> (which format corresponds to the one of the <code>prettyPrint</code> method) and populate the specified <code>out</code> with the result on success returning 0, or return a non-zero error code on error, populating the specified <code>errorDescription</code> with a description of the error. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="bmqt__queueflags_8h_source.html">bmqt_queueflags.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jun 15 2023 11:58:51 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
